home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir26
/
epi601_2.zip
/
FILES06.EXE
/
AMISS2.PGM
< prev
next >
Wrap
Text File
|
1994-08-22
|
2KB
|
38 lines
************************************************************************
*AMISS2.PGM Version 2.0, 18/OCT/1992 *
*An Epi Info program to code missing variables for anthropometry values*
* See Epi Info documentation for more information. *
* by Kevin Sullivan, Division of Epidemiology, Emory University *
************************************************************************
echo
echo
echo If you have already READ a file with anthropometry information in it,
echo press the ENTER key. If you have not READ a file, READ your file or
echo the example file, e.g., READ NUTRI
echo
?EPI>?
************************************************************************
*Declare missing variables based on Record Flag *
************************************************************************
Define NOHA #
Define NOWH #
Define NOWA #
If haz<-6 or haz>6 then NOHA=1 else NOHA=0
If whz<-4 or whz>6 then NOWH=1 else NOWH=0
If waz<-6 or waz>6 then NOWA=1 else NOWA=0
If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOHA=1
If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOWH=1
If NOHA then HAZ=.
If NOHA then HAP=.
If NOHA then HAM=.
If NOWH then WHZ=.
If NOWH then WHP=.
if NOWH then WHM=.
If NOWA then WAZ=.
If NOWA then WAP=.
If NOWA then WAM=.
************************************************************************
echo
echo The anthropometric indices that were flagged for having extreme or
echo missing values have been set to missing (i.e., ".").